package com.kuang.demo.vo.wx;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Goods4CommentVo {
    /**
     * id : 431
     * orderId : 335
     * goodsId : 1039051
     * goodsName : 多功能午睡枕
     * goodsSn : 1039051
     * productId : 54
     * number : 17
     * price : 79
     * specifications : ["标准"]
     * picUrl : http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png
     * comment : 0
     * addTime : 2020-11-05 16:52:56
     * updateTime : 2020-11-05 16:52:56
     * deleted : false
     */
    private int id;
    private int orderId;
    private int goodsId;
    private String goodsName;
    private int goodsSn;
    private int productId;
    private int number;
    private double price;
    private String picUrl;
    private int comment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private boolean deleted;
    private List<String> specifications;
}
